﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo09
{
    class Program
    {
        static void Main(string[] args)
        {
            Music mu = new Music("音乐老师");
            mu.Tea();
            mu.Swimming();

            Console.WriteLine();

            Programmer pro = new Programmer("程序员");
            pro.Po();
            pro.Writter();

            Console.WriteLine();

            Cat cat = new Cat("猫");
            cat.Eat();
            cat.Climb();

            Console.WriteLine();

            Dog dog = new Dog("狗");
            dog.Eat();
            dog.Swimming();

            Console.WriteLine();

            Duck duck = new Duck("鸭子");
            duck.Eat();
            duck.Swimming();

            Console.WriteLine();

            Monkey monkey = new Monkey("猴子");
            monkey.Eat();
            monkey.Climb();

            Console.WriteLine();

            BFcar bf = new BFcar("蝙蝠战车", "a6666");
            bf.Run();
            bf.Fly();
            bf.Fire();

            Console.WriteLine();

            Plane pl = new Plane("载乘客");
            pl.carry();
            pl.Take();
            pl.Fly();
            pl.La();

            Console.WriteLine();

            Bird bi = new Bird("鸟","下蛋");
            bi.Eat();
            bi.Lay();
            bi.Take();
            bi.Fly();
            bi.La();

            Console.WriteLine();

            Superman su = new Superman("超人");
            su.Eat();
            su.Take();
            su.Fly();
            su.La();

            Console.WriteLine();

            U u = new U("三星","512g");
            u.Res();
            u.Usb();

            Disk d = new Disk("希捷", "机械硬盘");
            d.Res();
            d.Usb();
        }
    }
}
